\begin{titlepage}
  % HACK for two-sided documents: ignore binding correction for cover page.
  % Adapted from Markus Kohm's KOMA-Script titlepage=firstiscover handling.
  % See http://mirrors.ctan.org/macros/latex/contrib/koma-script/scrkernel-title.dtx,
  % \maketitle macro.
  \oddsidemargin=\evensidemargin\relax
  \textwidth=\dimexpr\paperwidth-2\evensidemargin-2in\relax
  \hsize=\textwidth\relax

  \centering

  \IfFileExists{logos/tum.png}{%
    \includegraphics[height=60mm]{logos/tum.png}
  }{%
    \vspace*{20mm}
  }

  \vspace{5mm}
  {\textbf{\Large\MakeUppercase{\getUniversity{}}}}\\
  
  \vspace{5mm}
  {\large\MakeUppercase{\getFaculty{}}}\\

  \vspace{20mm}
  {\Large \getDoctype{}}

  \vspace{15mm}
  {\huge\bfseries \getTitle{}}

  \vspace{15mm}
  {\LARGE \getAuthor{}}

  \IfFileExists{logos/faculty.jpg}{%
    \vfill{}
    \includegraphics[height=20mm]{logos/faculty.jpg}
  }{}
\end{titlepage}
